<!DOCTYPE html>
<html lang="zh-cn" ng-app="qibing">
<head>
    <meta charset="UTF-8">
    <meta name="keywords" content="珠海赛事报名系统，lol赛事，王者荣耀赛事，电竞赛事，举办">
    <meta name="viewport" content="width=device-width, initial-scale=1，maximum-scale=1, user-scalable=no">

    <title>奇冰科技赛事报名系统</title>
    <link rel="stylesheet" href="Link/normalize.css">
    <link rel="stylesheet" href="Link/bootstrap.min.css">
    <link rel="stylesheet" href="common/css/main.css">
    <link rel="stylesheet" href="css/index_.css">
    <link rel="stylesheet" href="css/login.css">
    <link rel="stylesheet" href="css/JoinGpage.css">
</head>
<body class="container-fluid">
    <div class="loading"></div>
    <div class="loginPage hidden_ text-center" id="loginPage" >

        <div class="login_tab">
            <a  onclick="tabTurn(1)"><span>登录</span></a>
            <a  onclick="tabTurn(2)"><span>注册</span></a>
        </div>

        <div class="hidden_" id="tab1" style="display:block" ng-controller="loginData">
            <form class="text-center" method="post"
                  name="loginInfo" ng-submit="save()">

                <input class="form-control" type="text" placeholder="输入你的账号:" ng-model="_login.loginName"  required>


                <input class="form-control" id="input_2" type="password" placeholder="输入你的密码:" ng-model="_login.logiNpw" required>
                <img class="LogiNimg" src="images/eye_close.png" alt="" ng-show="isShow" ng-init="isShow=true" ng-click="trun()">
                <img class="LogiNimg" src="images/eye_open.png" alt="" ng-show="isHide" ng-click="trun()">

                <button type="submit" class=" LoginBtn btn btn-success text-center"  ng-disabled="loginInfo.$invalid"><span style="display:flex;margin: auto">登录</span></button>

                <p><a ui-sref="content.forgetPw">忘记密码</a></p>
            </form>
        </div>


        <!--注册-->
        <div class="hidden_" id="tab2"  ng-controller="SignUpData">
            <form class="text-center" method="post"
                  name="SignUpInfo" ng-submit="save_()">
                <input class="form-control" type="text" placeholder="输入你的账号:" ng-model="Signdata.name"  ng-minlength="5" ng-class="{'error':SignUpInfo.name.$touched && SignUpInfo.name.$invalid}" required>
                <p ng-if="SignUpInfo.name.$touched && SignUpInfo.name.$invalid">用户长度不少于5个字符</p>

                <input class="form-control" type="password" placeholder="输入你的密码:" ng-model="Signdata.pw" ng-class="{'error':SignUpInfo.pw.$touched&&SignUpInfo.pw.$invalid}" required>


                <input class="form-control" type="password" placeholder="确认你的密码:" ng-model="Signdata.pwCommit" ng-class="{'error':SignUpInfo.pw.$touched &&SignUpInfo.pw.$invalid}" required>


                <button type="submit" class="btn btn-success text-center LoginBtn"  ng-disabled="SignUpInfo.$invalid"><span style="display:flex;margin: auto">登录</span></button>
            </form>
        </div>
    </div>

    <div ui-view></div>

    <div class="mark hidden_"></div>


    <script type="text/javascript" src="Link/angular-1.5.7.min.js"></script>
    <script type="text/javascript" src="Link/angular-ui-router.min.js"></script>
    <script type="text/javascript" src="js/main.js"></script>
    <script type="text/javascript" src="js/controllers.js"></script>
</body>
</html>